<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/8/9
  Time: 11:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<div class="container" style="text-align: center;">
    <h2>系统信息页面</h2>

    <!--
			requestScope对应的是存放request域数据的Map
			requestScope.exception相当于request.getAttribute("exception")
			requestScope.exception.message相当于exception.getMessage()
		 -->
    <h4>${requestScope.exception.message }</h4>
    <button style="width: 300px;margin: 0px auto 0px auto;" class="btn btn-lg btn-success btn-block">返回刚才页面</button>
</div>
<script type="text/javascript">
    onload = function () {
        var but = document.getElementsByTagName("button")[0];
        but.onclick = function () {
            window.history.back();
        }
    }
</script>
</body>
</html>
